package com.youzan.cloud.biz.integral.usercase;
import com.alibaba.fastjson.JSONObject;
import com.youzan.cloud.biz.integral.common.UserCommand;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
 * @author hlin
 */
@Component
public class DefaultPointUserCase extends AbstractPointUserCase<UserCommand> {

    private static final Logger log = LoggerFactory.getLogger(DefaultPointUserCase.class);

    @Override
    public Boolean exec(UserCommand param) throws Exception {
        log.info("run default point use case, param: {}", JSONObject.toJSONString(param));
        return true;
    }
}
